<xsd:schema elementFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:simpleType name="__Level">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Off" />
      <xsd:enumeration value="Error" />
      <xsd:enumeration value="Warning" />
      <xsd:enumeration value="Normal" />
      <xsd:enumeration value="Fine" />
      <xsd:enumeration value="Finer" />
      <xsd:enumeration value="Finest" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__OverridesDescendants">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="true" />
      <xsd:enumeration value="false" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__Assembly">
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="1" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__Type">
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="1" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__Folder">
    <xsd:restriction base="xsd:string" />
  </xsd:simpleType>
  <xsd:simpleType name="__DeleteOnStartup">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="true" />
      <xsd:enumeration value="false" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__File">
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="1" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__FilePattern">
    <xsd:restriction base="xsd:string">
      <xsd:minLength value="1" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__NewFileCreationCriteriaBytesCount">
    <xsd:restriction base="xsd:long">
      <xsd:minInclusive value="0" />
      <xsd:maxInclusive value="9223372036854775807" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__NewFileCreationCriteriaWritesCount">
    <xsd:restriction base="xsd:long">
      <xsd:minInclusive value="0" />
      <xsd:maxInclusive value="9223372036854775807" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__Encoding">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Ascii" />
      <xsd:enumeration value="Utf7" />
      <xsd:enumeration value="Utf8" />
      <xsd:enumeration value="Utf32" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__IndentationUse">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="true" />
      <xsd:enumeration value="false" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__IndentationLength">
    <xsd:restriction base="xsd:int">
      <xsd:minInclusive value="0" />
      <xsd:maxInclusive value="2147483647" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__IndentationCharacter">
    <xsd:restriction base="xsd:string">
      <xsd:length value="1" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__SeparationCharacter">
    <xsd:restriction base="xsd:string">
      <xsd:length value="1" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:simpleType name="__Use">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="true" />
      <xsd:enumeration value="false" />
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:complexType name="__LevelMappingGlobal">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Level" type="__Level" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="OverridesDescendants" type="__OverridesDescendants" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__LevelMappingAssembly">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Level" type="__Level" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="OverridesDescendants" type="__OverridesDescendants" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="Assembly" type="__Assembly" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__LevelMappingType">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Level" type="__Level" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="OverridesDescendants" type="__OverridesDescendants" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="Type" type="__Type" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__LevelMappings">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="LevelMappingGlobal" type="__LevelMappingGlobal" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="LevelMappingAssembly" type="__LevelMappingAssembly" minOccurs="0" maxOccurs="unbounded" nillable="false" />
      <xsd:element name="LevelMappingType" type="__LevelMappingType" minOccurs="0" maxOccurs="unbounded" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__FileSystemWriterSingleFile">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Folder" type="__Folder" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="DeleteOnStartup" type="__DeleteOnStartup" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="File" type="__File" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__FileSystemWriterMultipleFiles">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Folder" type="__Folder" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="DeleteOnStartup" type="__DeleteOnStartup" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="FilePattern" type="__FilePattern" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="NewFileCreationCriteriaBytesCount" type="__NewFileCreationCriteriaBytesCount" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="NewFileCreationCriteriaWritesCount" type="__NewFileCreationCriteriaWritesCount" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__ConsoleWriter">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Encoding" type="__Encoding" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__XmlFormatter">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Encoding" type="__Encoding" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="IndentationUse" type="__IndentationUse" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="IndentationLength" type="__IndentationLength" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="IndentationCharacter" type="__IndentationCharacter" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__SingleLineFormatter">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Encoding" type="__Encoding" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="SeparationCharacter" type="__SeparationCharacter" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__Writer">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:choice minOccurs="1" maxOccurs="1">
        <xsd:element name="FileSystemWriterSingleFile" type="__FileSystemWriterSingleFile" minOccurs="1" maxOccurs="1" nillable="false" />
        <xsd:element name="FileSystemWriterMultipleFiles" type="__FileSystemWriterMultipleFiles" minOccurs="1" maxOccurs="1" nillable="false" />
        <xsd:element name="ConsoleWriter" type="__ConsoleWriter" minOccurs="1" maxOccurs="1" nillable="false" />
      </xsd:choice>
      <xsd:choice minOccurs="1" maxOccurs="1">
        <xsd:element name="XmlFormatter" type="__XmlFormatter" minOccurs="1" maxOccurs="1" nillable="false" />
        <xsd:element name="SingleLineFormatter" type="__SingleLineFormatter" minOccurs="1" maxOccurs="1" nillable="false" />
      </xsd:choice>
      <xsd:element name="Use" type="__Use" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__Writers">
    <xsd:sequence minOccurs="1" maxOccurs="1">
      <xsd:element name="Writer" type="__Writer" minOccurs="0" maxOccurs="unbounded" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="__Log">
    <xsd:sequence minOccurs="1" maxOccurs="unbounded">
      <xsd:element name="LevelMappings" type="__LevelMappings" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="Writers" type="__Writers" minOccurs="1" maxOccurs="1" nillable="false" />
      <xsd:element name="Use" type="__Use" minOccurs="1" maxOccurs="1" nillable="false" />
    </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="Enhancements.Core.Logging.___ConfigurationFile">
    <xsd:complexType>
      <xsd:sequence minOccurs="1" maxOccurs="1">
        <xsd:element name="Log" type="__Log" minOccurs="1" maxOccurs="unbounded" nillable="false" />
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
</xsd:schema>
